How to show that diagonals of a rectangle are equal